<?php
header ( "Content-Type:text/html; charset=utf-8" );
include '../public/db.php';
//@$p=$_REQUEST['aid'];
$pool = selectAll('select user.id,user.userName,userinfo.name,userinfo.sex,userinfo.place,userinfo.date from user join userinfo on user.id=userinfo.uid where not exists(select uid from Mycustomer where Mycustomer.uid=user.id);');
//var_dump($pool);
echo json_encode($pool);